package com.sskj.fabi.bean;

import com.sskj.common.util.NumberUtil;

import java.util.List;

/**
 * 交易订单详细模型
 */
public class OrderDetailBean {
    /**
     * buyId : 0
     * cancelId : 0
     * cancelTime : 2018-11-28T06:23:30.701Z
     * checkTime : 2018-11-28T06:23:30.701Z
     * command : string
     * countDownTime : string
     * createTime : 2018-11-28T06:23:30.701Z
     * dealEntrustNo : string
     * entrustNo : string
     * fee : 0
     * id : 0
     * isDeleted : false
     * payTime : 2018-11-28T06:23:30.701Z
     * payType : string
     * price : 0
     * refer : 0
     * remarkInfo : string
     * sellId : 0
     * status : string
     * stockUserPayWays : [{"address":"string","aliImg":"string","alipayAccount":"string","bankCardExpiredTime":"2018-11-28T06:23:30.701Z","bankCardImg":"string","bankCardNo":"string","bankCardOpenBank":"string","bankCardType":"string","bankCardTypeCode":"string","bankCardUnionNo":"string","city":"string","county":"string","createTime":"2018-11-28T06:23:30.701Z","disable":false,"id":0,"idCardNo":"string","isDelete":false,"payType":"string","province":"string","stockUserId":0,"wxAccount":"string","wxImg":"string"}]
     * timestamp : 2018-11-28T06:23:30.701Z
     * totalNum : 0
     * totalPrice : 0
     * type : string
     * username : string
     */

    private String buyId;
    private String cancelId;
    private String cancelTime;
    private String checkTime;
    private String command;
    private long countDownTime;
    private String createTime;
    private String dealEntrustNo;
    private String entrustNo;
    private String fee;
    private String id;
    private boolean isDeleted;
    private String payTime;
    private String payType;
    private String price;
    private String refer;
    private String remarkInfo;
    private String sellId;
    private String status;
    private String timestamp;
    private String totalNum;
    private String totalPrice;
    private String type;
    private String sellUsername;
    private String buyUsername;
    private List<StockUserPayWaysBean> stockUserPayWays;


    public String getSellUsername() {
        return sellUsername;
    }

    public void setSellUsername(String sellUsername) {
        this.sellUsername = sellUsername;
    }

    public String getBuyUsername() {
        return buyUsername;
    }

    public void setBuyUsername(String buyUsername) {
        this.buyUsername = buyUsername;
    }

    public String getCancelTime() {
        return cancelTime;
    }

    public void setCancelTime(String cancelTime) {
        this.cancelTime = cancelTime;
    }

    public String getCheckTime() {
        return checkTime;
    }

    public void setCheckTime(String checkTime) {
        this.checkTime = checkTime;
    }

    public String getCommand() {
        return command;
    }

    public void setCommand(String command) {
        this.command = command;
    }

    public long getCountDownTime() {
        return countDownTime;
    }

    public void setCountDownTime(long countDownTime) {
        this.countDownTime = countDownTime;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getDealEntrustNo() {
        return dealEntrustNo;
    }

    public void setDealEntrustNo(String dealEntrustNo) {
        this.dealEntrustNo = dealEntrustNo;
    }

    public String getEntrustNo() {
        return entrustNo;
    }

    public void setEntrustNo(String entrustNo) {
        this.entrustNo = entrustNo;
    }

    public String getFee() {
        return fee;
    }

    public void setFee(String fee) {
        this.fee = fee;
    }

    public boolean isDeleted() {
        return isDeleted;
    }

    public void setDeleted(boolean deleted) {
        isDeleted = deleted;
    }

    public String getPrice() {
        return NumberUtil.keepMax2(price);
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getRefer() {
        return refer;
    }

    public void setRefer(String refer) {
        this.refer = refer;
    }

    public String getTotalNum() {
        return NumberUtil.keepMax4(totalNum);
    }

    public void setTotalNum(String totalNum) {
        this.totalNum = totalNum;
    }

    public String getTotalPrice() {
        return NumberUtil.keepMax2(totalPrice);
    }

    public void setTotalPrice(String totalPrice) {
        this.totalPrice = totalPrice;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public boolean isIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(boolean isDeleted) {
        this.isDeleted = isDeleted;
    }

    public String getPayTime() {
        return payTime;
    }

    public void setPayTime(String payTime) {
        this.payTime = payTime;
    }

    public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = payType;
    }


    public String getRemarkInfo() {
        return remarkInfo;
    }

    public void setRemarkInfo(String remarkInfo) {
        this.remarkInfo = remarkInfo;
    }

    public String getBuyId() {
        return buyId;
    }

    public void setBuyId(String buyId) {
        this.buyId = buyId;
    }

    public String getCancelId() {
        return cancelId;
    }

    public void setCancelId(String cancelId) {
        this.cancelId = cancelId;
    }

    public String getSellId() {
        return sellId;
    }

    public void setSellId(String sellId) {
        this.sellId = sellId;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(String timestamp) {
        this.timestamp = timestamp;
    }



    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }


    public List<StockUserPayWaysBean> getStockUserPayWays() {
        return stockUserPayWays;
    }

    public void setStockUserPayWays(List<StockUserPayWaysBean> stockUserPayWays) {
        this.stockUserPayWays = stockUserPayWays;
    }

    public static class StockUserPayWaysBean {
        boolean isCheck=false;

        public boolean isCheck() {
            return isCheck;
        }

        public void setCheck(boolean check) {
            isCheck = check;
        }

        /**
         * address : string
         * aliImg : string
         * alipayAccount : string
         * bankCardExpiredTime : 2018-11-28T06:23:30.701Z
         * bankCardImg : string
         * bankCardNo : string
         * bankCardOpenBank : string
         * bankCardType : string
         * bankCardTypeCode : string
         * bankCardUnionNo : string
         * city : string
         * county : string
         * createTime : 2018-11-28T06:23:30.701Z
         * disable : false
         * id : 0
         * idCardNo : string
         * isDelete : false
         * payType : string
         * province : string
         * stockUserId : 0
         * wxAccount : string
         * wxImg : string
         */

        private String address;
        private String aliImg;
        private String alipayAccount;
        private String bankCardExpiredTime;
        private String bankCardImg;
        private String bankCardNo;
        private String bankCardOpenBank;
        private String bankCardType;
        private String bankCardTypeCode;
        private String bankCardUnionNo;
        private String city;
        private String county;
        private String createTime;
        private boolean disable;
        private int id;
        private String idCardNo;
        private boolean isDelete;
        private String payType;
        private String province;
        private int stockUserId;
        private String wxAccount;
        private String wxImg;

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getAliImg() {
            return aliImg;
        }

        public void setAliImg(String aliImg) {
            this.aliImg = aliImg;
        }

        public String getAlipayAccount() {
            return alipayAccount;
        }

        public void setAlipayAccount(String alipayAccount) {
            this.alipayAccount = alipayAccount;
        }

        public String getBankCardExpiredTime() {
            return bankCardExpiredTime;
        }

        public void setBankCardExpiredTime(String bankCardExpiredTime) {
            this.bankCardExpiredTime = bankCardExpiredTime;
        }

        public String getBankCardImg() {
            return bankCardImg;
        }

        public void setBankCardImg(String bankCardImg) {
            this.bankCardImg = bankCardImg;
        }

        public String getBankCardNo() {
            return bankCardNo;
        }

        public void setBankCardNo(String bankCardNo) {
            this.bankCardNo = bankCardNo;
        }

        public String getBankCardOpenBank() {
            return bankCardOpenBank;
        }

        public void setBankCardOpenBank(String bankCardOpenBank) {
            this.bankCardOpenBank = bankCardOpenBank;
        }

        public String getBankCardType() {
            return bankCardType;
        }

        public void setBankCardType(String bankCardType) {
            this.bankCardType = bankCardType;
        }

        public String getBankCardTypeCode() {
            return bankCardTypeCode;
        }

        public void setBankCardTypeCode(String bankCardTypeCode) {
            this.bankCardTypeCode = bankCardTypeCode;
        }

        public String getBankCardUnionNo() {
            return bankCardUnionNo;
        }

        public void setBankCardUnionNo(String bankCardUnionNo) {
            this.bankCardUnionNo = bankCardUnionNo;
        }

        public String getCity() {
            return city;
        }

        public void setCity(String city) {
            this.city = city;
        }

        public String getCounty() {
            return county;
        }

        public void setCounty(String county) {
            this.county = county;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public boolean isDisable() {
            return disable;
        }

        public void setDisable(boolean disable) {
            this.disable = disable;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getIdCardNo() {
            return idCardNo;
        }

        public void setIdCardNo(String idCardNo) {
            this.idCardNo = idCardNo;
        }

        public boolean isIsDelete() {
            return isDelete;
        }

        public void setIsDelete(boolean isDelete) {
            this.isDelete = isDelete;
        }

        public String getPayType() {
            return payType;
        }

        public void setPayType(String payType) {
            this.payType = payType;
        }

        public String getProvince() {
            return province;
        }

        public void setProvince(String province) {
            this.province = province;
        }

        public int getStockUserId() {
            return stockUserId;
        }

        public void setStockUserId(int stockUserId) {
            this.stockUserId = stockUserId;
        }

        public String getWxAccount() {
            return wxAccount;
        }

        public void setWxAccount(String wxAccount) {
            this.wxAccount = wxAccount;
        }

        public String getWxImg() {
            return wxImg;
        }

        public void setWxImg(String wxImg) {
            this.wxImg = wxImg;
        }
    }
}
